Decomposition is the process of breaking a problem into smaller pieces.
Defining the boundaries, interface, and purpose of the smaller pieces is call abstraction.
Decomposition and abstraction go hand-in-hand and are essential skills in programming.
hike.py
¶Bit needs to hike over the mountain.
Paint only the squares directly above a blocked square.
treasure.py
¶To reach the cave, Bit must follow these instructions:
Once in the cave, navigate through the passage to the treasure (red square).
Paint the path followed green.